package com.company.oa.announcement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("announcement_attachment")
public class AnnouncementAttachment {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private Long announcementId;
    
    private String name;
    
    private String path;
    
    private Long size;
    
    private String type;
    
    private Long uploaderId;
    
    private String uploaderName;
    
    private LocalDateTime uploadTime;
    
    private Integer isDeleted;
} 